package oneDayDemo;

public class Test2 {
    public static void main(String[] args) {
        //用户类记住自己创建了多少个对象
        User u1 = new User();
        User u2 = new User();
        User u3 = new User();

        System.out.println(User.number);
    }

}
